load("@fbsource//tools/build_defs:rust_binary.bzl", "rust_binary")

oncall("rust_devx")

rust_binary(
    name = "rust-project",
    srcs = glob([
        "src/**/*.rs",
        "templates/*",
    ]),
    contacts = ["oncall+rust_devx@xmail.facebook.com"],
    crate_root = "src/main.rs",
    link_style = "static",
    deps = [
        "fbsource//third-party/rust:anyhow",
        "fbsource//third-party/rust:clap",
        "fbsource//third-party/rust:dunce",
        "fbsource//third-party/rust:elf",
        "fbsource//third-party/rust:rustc-hash",
        "fbsource//third-party/rust:serde",
        "fbsource//third-party/rust:serde_json",
        "fbsource//third-party/rust:tracing",
        "fbsource//third-party/rust:tracing-subscriber",
        "fbsource//third-party/rust:whoami",
        # @oss-disable[end= ]: "//common/rust/scuba:scuba",
        # @oss-disable[end= ]: "//common/rust/shed/fbinit:fbinit",
    ],
)
